package com.gdssoft.framework.service.system;
/*
 * 捷达世软件(深圳)有限公司
 * Copyright (C) 2008-2010 ShenZhen JieDaShi Software Limited Company. 
*/
import java.util.List;
import com.gdssoft.framework.model.system.Department;
import com.gdssoft.core.service.BaseService;
import com.gdssoft.core.web.paging.PagingBean;

public interface DepartmentService extends BaseService<Department> {

	public List<Department> findByParentId(Long parentId);
	
	public List<Department> findByParentId(Long parentId, PagingBean pb);
	
	public List<Department> findByPath(String path);
	
	public List<Department> findByPath(String path, PagingBean pb);
		
	public List<Department> findByParentId(Long parentId,Integer depLevel, PagingBean pb);	
	
	public List<Department> getByOfficeId(Long officeId);
	
	public List<Department> getByCompanyId(Long companyId);

	public List<Department> findByPath(String path, int level);
}
